
.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.main{
  width: 1200px;
  margin: 0 auto;
  .mian-nav {
    p {
      color: #969696;
      height: 66px;
      line-height: 70px;
      font-size: 16px;
      padding-left: 26px;
      background: url("../img/home.png") no-repeat 4px center;
      a {
        color: #969696;
        &:hover {
          color: red;
        }
      }
    }
  }

  .main-content {
    height: 1562px;
    .content-left {
      width: 842px;
      float: left;
      background: #fff;
      height: 100%;
      .topic {
        margin-left: 4px;
        border-bottom: 3px solid #ff9500;
        height: 192px;
        .topic-show {
          float: left;
          width:513px;
          height: 100%;
          overflow: hidden;
          img{
            width: 100%;
            height: 100%;
            transition: all 0.5s ease;
            &:hover {
              transform: scale(1.2);
            }
          }
        }
        .introduce {
          float: left;
          width: 302px;
          height: 100%;
          padding-left: 20px;

          h5 {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-size: 24px;
            line-height: 72px;
          }
          .text {
            height: 100px;
            line-height: 20px;
            font-size: 12px;
            overflow: hidden;
            color: #808080;
          }
        }
      }
      .bottom-tri {
        height: 0;
        width: 0;
        border:{
          style: solid dotted dotted dotted; 
          width: 8px;
          color: #ff9500 transparent transparent transparent;
        }
        margin: 0 auto;
      }
      .main-content-box {
        width: 836px;
        margin-top: 18px;
        .content-box {
          float: left;
          box-sizing: border-box;
          width: calc(100% / 3 - 18px);
          height: 84px;
          margin-bottom: 20px;
          border-radius: 8px;
          box-shadow: 0 0 2px 1px #f6f6f6;
          &:nth-child(3n+2) {
            margin: 0 27px;
          }
          div {
            float: left;
            height: 84px;
          }
          .show-zone {
            img {
              height: 72px;
              margin: 6px 0;
            }
          }
          .brief-introduce {
            padding: 8px 12px 0 6px;
            height: 76px;
            width:92px;
            h5 {
              line-height: 30px;
              font-size: 18px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              a:hover {
                color: red;
                text-decoration: underline;
              }
            }
            .labels {
              font-size: 0;
              span {
                line-height: 20px;
                font-size: 14px;
                a {
                  color: #4e4e4e;
                  &:hover {
                    color: red;
                    text-decoration: underline;
                  }
                }

              }
              span + span {
                margin-left: 4px;
              }
            }
            .popularity {
              line-height: 22px;
              font-size: 12px;
              color: #939393;
            }
          }
          .startBtn{
            a {
              display: block;
              border: 1px solid #ff9500;
              height: 26px;
              margin: 28px auto 0;
              line-height: 26px;
              width: 68px;
              border-radius: 8px;
              text-align: center;
              background: none;
              font-size: 14px;
              color: #ff9500;
              padding: 0;
              outline: none;
              &:hover {
                background: #ff9500;
                color: #fff;
              }
            }
          }
        }
      }
      .page {
        padding-top: 10px;
        text-align: center;
      }
    }

    .aside {
      float: right;
      width: 350px;
      background: #fff;
      height: 100%;
      .title {
        padding-top: 6px;
        height: 50px;
        line-height: 50px;
        padding-left: 42px;
        font-size: 26px;
        color: #676767;
        border-bottom: 3px solid #ff9500;
        a {
          float: right;
          font-size: 12px;
          margin-right:8px;
          cursor: pointer;
          &:hover {
            color: red;
          }
        }
      }
      .hot-topic {
        height: 1022px;
        padding-left: 18px;
        border-radius: 8px;
        box-shadow: 0 0 2px 1px #f6f6f6;
        .title{
          background: url("../img/topic.png") no-repeat 0 14px;
        }
        .item {
          position: relative;
          margin-right: 20px;
          cursor: pointer;
          .item-show {
            display:block;
            margin-top: 12px;
            overflow: hidden;
            img {
              width: 312px;
              height: 146px;
              transition: all 0.5s ease;
            }
          }
          p {
            width: 100%;
            position: absolute;
            font-size: 14px;
            color: #fff;
            bottom: 0;
            line-height: 50px;
            height: 50px;
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            z-index: 99;
            background: url("../img/opacity.png");
          }
        }
      }
      .hot-game {
        margin-top: 10px;
        height: 530px;
        padding-left: 18px;
        border-radius: 8px;
        box-shadow: 0 0 2px 1px #f6f6f6;
        .title {
          background: url("../img/game-hot.png") no-repeat 0 14px;
        }
        dd {
          padding-top: 8px;
          .left {
            float: left;
            display: none;
            .hover-img {
              display:block;
              img{
                width: 76px;
                height: 76px;
              }
            }
          }
          .right{
            width: 100%;
            float: left;
            span {
              display: block;
              overflow: hidden;
              white-space: nowrap;
            }
            .game-name {
              float: left;
              width: 60%;
              padding-left: 18px;
              background: url("../img/li.png") no-repeat 2px center;
              line-height: 32px;
              font-size: 16px;
              a {
                color: #333;
              }

            }
            .game-type {
              float: right;
              width: 20%;
              text-align: center;
              line-height: 32px;
              font-size: 14px;
              a {
                color: #b2b2b2;
              }
            }
            .game-heat {
              display: none;
              font-size: 14px;
              color: #b2b2b2;
              em {
                color: #ff0000;
              }
            }
          }
        }
        .hover {
          padding-bottom: 8px;
          border-bottom: 1px dashed #e8e8e8;
          .left {
            display: block;
          }
          .right{
            width: 60%;
            padding-left: 14px;
            .game-name {
              float: none;
              width: 100%;
              padding: 0;
              background: none;
              font-weight: bold;
            }
            .game-type {
              float: none;
              width: 100%;
              text-align: left;
              line-height: 22px;
            }
            .game-heat {
              display: block;
              line-height: 22px;
            }
          }
        }
      }
    }
  }
}

